#!/usr/bin/env python

import os.path
import time
import sys
import os

from daddyparsers import *
from lts import utils

if __name__ == "__main__":
	# Parseo los argumentos de entrada.
	system = parse(sys.argv[1:],1,1)["system"]
	# Recorro la lista de subsistemas.
	for subsystem in system:
		print "\nPath for subsystem", subsystem.name, \
			  subsystem.get_event_set('o')
		for p in subsystem.list_paths():
			print ((utils.path_to_string(p,subsystem,None)).split('\t'))[0]
